﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;

namespace scom_a3_web.jonathan_svc
{
    public partial class WsOperations_test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btn_Submit_Click(object sender, EventArgs e)
        {
            StringBuilder sb = new StringBuilder();
            ServiceReference3.RequiredServices_JStanleyClient client = new ServiceReference3.RequiredServices_JStanleyClient();
            string[] outputArray = client.getWsOperations(txt_Input.Text);

            //print string array
            foreach (string s in outputArray)
            {
                sb.Append(s + "<br />");
            }
            lbl_Output.Text = sb.ToString();

        }
    }
}